package com.zyd.blog.persistence.mapper;

import com.zyd.blog.persistence.beans.FineArt;
import com.zyd.blog.persistence.beans.SoftProduct;
import com.zyd.blog.plugin.BaseMapper;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
public interface BackstageFineArtMapper extends BaseMapper<FineArt> {
    List<FineArt> FineArtBackstage(int page, int count);

    void deleteFineArt(String id);

    Integer editFineArt(String  fineId,String  fineTitle,String fineImage,String top,
                      String  fineContent);

    List<FineArt> searchDesign(String value, int page, int count);

    Integer count(String value);
    FineArt get(String id);

    Integer updateIn(String id,String state);
}
